raar.agent.process.actor
Class RATraceActor

java.lang.Object
  extended by raar.agent.process.RAProcess
      extended by raar.agent.process.actor.RAActor
          extended by raar.agent.process.actor.RATraceActor
All Implemented Interfaces:
java.io.Serializable

public class RATraceActor
extends RAActor

This Actor models the marker of the agent, which produces a trace behind the agent and thus enables a user to follow the agent's movement more easily. In this version, the Java null is supported as input. It will result in a zero value (since zero means no action).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class raar.agent.process.RAProcess
hasRun, inregister, outregister, register, sourceCode, statement
 
Constructor Summary
RATraceActor()
          Construct an RAActor.
 
Method Summary
 java.lang.String getDescription()
          Describe the actor.
 boolean isInputValid(RADataType d)
          Determine whether input is valid.
 
Methods inherited from class raar.agent.process.actor.RAActor
acceptsInput, dumpRegisters, execute, get, getActorValue, getDataType, getInputNames, getInputObjects, getOutputNames, getOutputObjects, run, set, setSourceCode
 
Methods inherited from class raar.agent.process.RAProcess
clone, getProcessName, getSourceCode, isSpecial, reset, setProcessName, suppliesOutput
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RATraceActor

public RATraceActor()
Construct an RAActor.

Method Detail

isInputValid

public boolean isInputValid(RADataType d)
Determine whether input is valid.

Specified by:
isInputValid in class RAActor

getDescription

public java.lang.String getDescription()
Describe the actor.

Specified by:
getDescription in class RAActor